package reviewQuiz

import org.springframework.cloud.contract.spec.Contract

Contract.make {
    request {
        method "GET"
        url value(consumer(regex('/api/v2/review/\\d+')),
                producer('/api/v2/review/1'))
        headers {
            contentType(applicationJsonUtf8())
            header("id",21)
        }
    }
    response {
        status 200
    }
}